package com.woniu.cloud.shopassembly.controller;


import com.woniu.cloud.common.dto.Result;
import com.woniu.cloud.entity.TGood;
import com.woniu.cloud.shopassembly.service.ITGoodService;
import io.seata.spring.annotation.GlobalTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 平台对店铺商品表 前端控制器
 * </p>
 *
 * @author Lucas
 * @since 2021-09-22
 */
@RestController
public class TGoodController {

    @Autowired
    private ITGoodService goodService;
    @GetMapping("getPort")
    public Result getPort(){
        return Result.success("true",10001);
    }


}

